package com.link2room.soundwave.dto.param.inside;

import com.link2room.common.annotation.L2RIgnore;
import com.link2room.common.dto.param.base.BaseL2rParamDto;
import com.link2room.common.util.DateUtil;

import java.util.Date;

/**
 * Created by VegetaKo on 2016/9/6.
 */
public class PmsRoomAvailInsideParamDto extends BaseL2rParamDto {
    /**
     * 到店日期
     */
    @L2RIgnore
    private Date arr;

    private String arrtime;
    /**
     * 离店日期
     */
    @L2RIgnore
    private Date dep;

    private String deptime;

    /**
     * 房型
     */
    private String rmtypes;

    private String pmsRatecode;

    private String l2RRmtypes;

    private String salesChannel;

    private Integer unuseRmnum;
    /**
     * FOR GC
     */
    private Long hotelId;
    private Long hotelGroupId;

    private String pmsHotelCode;
    private String pmsHotelGroupCode;


    public Date getArr() {
        return arr;
    }

    public void setArr(Date arr) {
        this.arr = arr;
    }

    public String getArrtime() {
        return arrtime;
    }

    public void setArrtime(String arrtime) {
        this.arrtime = arrtime;
        setArr(DateUtil.parseDateNewFormat( arrtime));
    }

    public Date getDep() {
        return dep;
    }

    public void setDep(Date dep) {
        this.dep = dep;

    }

    public String getDeptime() {
        return deptime;
    }

    public void setDeptime(String deptime) {
        this.deptime = deptime;
        setDep(DateUtil.parseDateNewFormat( deptime));
    }

    public String getRmtypes() {
        return rmtypes;
    }

    public void setRmtypes(String rmtypes) {
        this.rmtypes = rmtypes;
    }

    public String getPmsRatecode() {
        return pmsRatecode;
    }

    public void setPmsRatecode(String pmsRatecode) {
        this.pmsRatecode = pmsRatecode;
    }

    public String getL2RRmtypes() {
        return l2RRmtypes;
    }

    public void setL2RRmtypes(String l2RRmtypes) {
        this.l2RRmtypes = l2RRmtypes;
    }

    public Long getHotelId() {
        return hotelId;
    }

    public void setHotelId(Long hotelId) {
        this.hotelId = hotelId;
    }

    public Long getHotelGroupId() {
        return hotelGroupId;
    }

    public void setHotelGroupId(Long hotelGroupId) {
        this.hotelGroupId = hotelGroupId;
    }

    public String getSalesChannel() {
        return salesChannel;
    }

    public void setSalesChannel(String salesChannel) {
        this.salesChannel = salesChannel;
    }

    public Integer getUnuseRmnum() {
        return unuseRmnum;
    }

    public void setUnuseRmnum(Integer unuseRmnum) {
        this.unuseRmnum = unuseRmnum;
    }

    public String getPmsHotelCode() {
        return pmsHotelCode;
    }

    public void setPmsHotelCode(String pmsHotelCode) {
        this.pmsHotelCode = pmsHotelCode;
    }

    public String getPmsHotelGroupCode() {
        return pmsHotelGroupCode;
    }

    public void setPmsHotelGroupCode(String pmsHotelGroupCode) {
        this.pmsHotelGroupCode = pmsHotelGroupCode;
    }
}
